how to install rancher dashboard on kubernetes1.19

  1. install docker and run rancher

    docker run -d --restart=unless-stopped -p 80:80 -p 443:443 -v /opt/rancher:/var/lib/rancher --privileged rancher/rancher
    
  2. add exsting cluster

    curl --insecure -L https://192.168.0.209/v3/import/gmbcncss69f9zjsdnbt9766kb5lxshw8j8frd5qzwvgnbrx9vn27p5.yaml -o rancher.yaml
    kubectl apply -f rancher.yaml
    
  3. references:

    https://rancher.com/quick-start/

    https://stackoverflow.com/questions/52369247/namespace-stuck-as-terminating-how-do-i-remove-it